/*
 * @Author: wwssaabb
 * @Date: 2021-07-05 10:26:10
 * @LastEditTime: 2021-07-05 11:18:28
 * @FilePath: \demo\koa2_demo\demo\模板引擎art-template_demo\app.js
 */

//const koa=require('koa')
const path=require('path')
const template=require('art-template')
const view_list=path.join(__dirname+'/views/03.art')  
console.log(view_list)

//const html=template(view_list,{name:'张无忌',age:25,kungfu:['太极拳','九阳神功','乾坤大挪移']})
const html=template(view_list,{msg:'阿巴阿巴阿巴'})  
console.log(html)


